package com.example.hrms.entity;

import java.sql.Timestamp;

public class StaffPersonalInfo1 {
    private int PIid;
    private int Uid;
    private String Name;
    private int Sex;
    private String Phone;
    private String Address;
    private String Birthday;//时间戳类型从后台通过Ajax获取事出现失真就换成String

    public StaffPersonalInfo1() {
    }

    @Override
    public String toString() {
        return "StaffPersonalInfo{" +
                "PIid=" + PIid +
                ", Uid=" + Uid +
                ", Name='" + Name + '\'' +
                ", Sex=" + Sex +
                ", Phone='" + Phone + '\'' +
                ", Address='" + Address + '\'' +
                ", Birthday=" + Birthday +
                '}';
    }

    public StaffPersonalInfo1( int uid, String name, int sex, String phone, String address, String birthday) {
        Uid = uid;
        Name = name;
        Sex = sex;
        Phone = phone;
        Address = address;
        Birthday = birthday;
    }

    public int getPIid() {
        return PIid;
    }

    public void setPIid(int PIid) {
        this.PIid = PIid;
    }

    public int getUid() {
        return Uid;
    }

    public void setUid(int uid) {
        Uid = uid;
    }

    public String getName() {
        return Name;
    }

    public void setName(String name) {
        Name = name;
    }

    public int getSex() {
        return Sex;
    }

    public void setSex(int sex) {
        Sex = sex;
    }

    public String getPhone() {
        return Phone;
    }

    public void setPhone(String phone) {
        Phone = phone;
    }

    public String getAddress() {
        return Address;
    }

    public void setAddress(String address) {
        Address = address;
    }

    public String getBirthday() {
        return Birthday;
    }

    public void setBirthday(String birthday) {
        Birthday = birthday;
    }
}
